package com.changwu.cwbase.bean.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * https://github.com/CymChad/BaseRecyclerViewAdapterHelper
 */
public class UserMultipleItem extends SectionMultiEntity<User> implements MultiItemEntity {

    private int itemType;
    private boolean isMore;
    private User bean;

    public UserMultipleItem(boolean isHeader, String header, boolean isMore) {
        super(isHeader, header);
        this.isMore = isMore;
    }

    public UserMultipleItem(int itemType, User bean) {
        super(bean);
        this.bean = bean;
        this.itemType = itemType;
    }

    public boolean isMore() {
        return isMore;
    }

    public void setMore(boolean more) {
        isMore = more;
    }

    public User getUser() {
        return bean;
    }

    public void setUser(User bean) {
        this.bean = bean;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
